Skip to content

mesa: update to 26.2.1 - #62137

Draft
onlylunix wants to merge 1 commit into
void-linux:masterfrom
onlylunix:mesa26.2-update
Draft

mesa: update to 26.2.1#62137
onlylunix wants to merge 1 commit into
void-linux:masterfrom
onlylunix:mesa26.2-update

Conversation

@onlylunix

Copy link
Copy Markdown
Contributor

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, (x86_64-LIBC)

@onlylunix

Copy link
Copy Markdown
Contributor Author

@dkwo

dkwo commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

is it currently failing to cross compile to arm 32 bit also with llvm21? is it the same error as llvm22? I see now in ci:

In file included from ../src/amd/addrlib/src/core/addrswizzler.cpp:18:
../src/amd/addrlib/src/core/addrswizzlersimd.h: In static member function 'static void Addr::MicroSw_2D_1BPE_NEON::CopyMicroBlock(void*, const void*, size_t, size_t)':
../src/amd/addrlib/src/core/addrswizzlersimd.h:1157:29: error: 'vzip1q_u32' was not declared in this scope; did you mean 'vzipq_u32'?

@dkwo

dkwo commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Maybe we can restrict which drivers are built for arm32?

@onlylunix

Copy link
Copy Markdown
Contributor Author

Maybe we can restrict which drivers are built for arm32?

Yes, packages are created by adding the following:

@@ -157,6 +157,12 @@
 # amd implicitly enables clover opencl, also enable hwdec and virgl too
 case "$XBPS_TARGET_MACHINE" in
 	armv5*|mips*) ;;
+	armv[67]*)
+		_have_nv=yes
+		#_have_amd=yes
+		_have_hwdec=yes
+		_have_virgl=yes
+		;;
 	*)
 		_have_nv=yes
 		_have_amd=yes

@onlylunix

Copy link
Copy Markdown
Contributor Author

@dkwo
used llvm22

@onlylunix
onlylunix marked this pull request as draft August 23, 2026 13:04
@onlylunix

onlylunix commented Aug 23, 2026

Copy link
Copy Markdown
Contributor Author

@Duncaen , @dkwo
I discovered that after building Mesa with llvm22, Mesa OpenCL (RUSTICL) stops working.
An error occurs when running clinfo:

$ RUSTICL_ENABLE=iris clinfo
Libclc failed to load. Please make sure it is installed and provides
                spirv-mesa3d-.spv and/or spirv64-mesa3d-.spv
...

The problem was resolved only after making the following fixes to the mesa template, which indicates an error in the libclc22 (llvm22) package:

pre_configure() {
	vsed -i "s|libexecdir=/usr/lib/llvm/${_llvmver}/share/clc|libexecdir=/usr/lib/llvm/${_llvmver}/lib/clang/${_llvmver}/lib/libclc|" \
	/usr/lib/llvm/${_llvmver}/share/pkgconfig/libclc.pc
}

Add fixes to the template mesa or wait for a fix in the libclc22 (llvm22) package?

@onlylunix

Copy link
Copy Markdown
Contributor Author

Or rollback to llvm21?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants